package com.gupao.proxy.dynamicproxy.jdkproxy;

import com.gupao.proxy.dynamicproxy.jdkproxy.Girl;
import com.gupao.proxy.dynamicproxy.jdkproxy.MeiPo;
import com.gupao.proxy.dynamicproxy.jdkproxy.Person;

public class DynamicProxyTest {
    public static void main(String[] args) {
        try {
            Person obj = (Person)new MeiPo().getInstance(new Girl());
            obj.findLove();

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
